/**
 * 
 */
package com.jushu.storbox.service;

import com.jushu.storbox.ShareDriveApplication;
import com.huawei.sharedrive.sdk.android.util.StringUtil;

public abstract class AbstractBaseService {
	
	ShareDriveApplication shareDriveApplication = ShareDriveApplication.getInstance();

	/**
	 * @return
	 */
//	public String getOnwerId() {
//		String ownerId = "";
//		if (null != ShareDriveApplication.getInstance().getWnerID()) {
//			ownerId = ShareDriveApplication.getInstance().getWnerID();
//		}
//		return ownerId;
//	}

	/**
	 * @return
	 */
	protected String getAuthCode() {
		String AuthCode = ShareDriveApplication.getInstance().getAuthorization();
		if (StringUtil.isBlank(AuthCode)) {
			AuthCode = "";
		}
		return AuthCode;
	}
}
